<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <img v-bind:src="imgUrl" v-bind:title = "Title">
        <a v-bind:href="aHref" target="_blank">百度一下,你就知道</a>
        <br>
        <!-- 语法糖简写形式 -->
        <img :src="imgUrl" :title = "Title">
        <a :href="aHref" target="_blank">百度一下,你就知道</a>
    </div>
    <script src= '../js/vue.js'></script>
    <script>
        const app = new Vue({
            el:'#app',
            data:{
                imgUrl: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.OT9QL6lFfzKvRfqgy2xxswHaEK?w=331&h=186&c=7&r=0&o=5&dpr=1.25&pid=1.7',
                Title:'陈奕迅是我大哥!!!',
                aHref: 'http://www.baidu.com'
            }
        })
    </script>
</body>
</html>